c# remove non-alphanumeric characters from string

100

c# remove non-alphanumeric characters from string -

string result = Regex.Replace(input, @"[^\w]*", String.Empty);

Comments

Submit
0 Comments